<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1, user-scalable=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <title>关于</title>
    <link rel="stylesheet" href="../css/mui.min.css">
    <script src="../js/mui.min.js"></script>
    <!--App自定义的css-->
    <link rel="stylesheet" type="text/css" href="../css/app.css" />
    <link rel="stylesheet" href="../npl/css/vant.mini.css" />
    <script src="../js/vconsole.min.js"></script>
    <script src="../js/jquery-3.6.0.min.js"></script>
    <script src="../js/vue.js"></script>
    <script src="../js/flexible.js"></script>
    <script src="../wx/uap.js"></script>
    <script src="./text.js" type="text/javascript"></script>
    <script src="../npl/js/vant.mini.js"></script>
</head>
<style>
    body {
        margin: 0;
        padding: 0;
    }

    .box {
        position: relative;
        width: 100%;
        height: 100%;
        color: #f6f7f9;
        text-align: center;
        background-image: #ccc;
        background-size: 100%;
    }

    .box_wrapper {
        width: 100%;
        padding: 0 10px;
        margin-top: 1rem;

    }

    .version {
        display: flex;
        justify-items: center;
        align-items: center;
        flex-direction: column;
    }

    .version img {
        width: 55px;
        height: 55px;
        margin-bottom: 20px;
    }

    .text {
        font-family: PingFang SC;
        font-weight: bold;
        color: #2d343c;
        font-size: 14px;
        margin-bottom: 50px;
    }

    .text1 {
        opacity: 60%;
        font-family: PingFang SC;
        color: #2d343c;
        font-size: 12px;
        margin-top: -3px;
    }

    .address {
        width: 100%;
        height: 1rem;
        padding: 0 .4rem;
        margin-top: 15px;
        display: flex;
        align-items: center;
        border-radius: 7px;
        /* justify-content: space-between; */
        background-color: #fff;
    }

    .address p:nth-child(1) {
        font-family: PingFang SC;
        color: #2d343c;
        font-size: 15px;
        width: 80px;
        text-align: left;
    }

    .address p:nth-child(2) {
        font-family: PingFang SC;
        color: #19AEB0;
        font-size: 14px;
    }

    .foot {
        display: flex;
        justify-content: center;
        width: 100%;
        position: absolute;
        bottom: 1rem;
        left: 0;
        width: 100%;
    }

    .foot_wrapper {
        font-family: PingFang SC;
        color: #2d343c;
        font-size: 12px;
        opacity: 60%;
        width: 100%;
    }
    .van-nav-bar{
background: none !important;;
    }
</style>
</head>

<body>
    <div class="box" id="app">
        <div class="header_tit">
            <van-nav-bar title="关于" left-arrow>
                <template #left>
                    <div class="back_l" @click="home"><img src="../image/left.png" alt=""></div>
                </template>
            </van-nav-bar>
        </div>
        <div class="box_wrapper">
            <div class="version">
                <img src="../image/user.png" alt="">
                <p class="text">AI助手</p>
            </div>
            <div v-for="(item,index) in list" class="address">
                <p :style="item.style" v-text="item.name"></p>
                <p v-text="item.url"></p>
            </div>
            <div>
            </div>
        </div>
        </div>
</body>
<script>
    new Vue({
        el: '#app',
        data() {
            return {
                list: [
                    { name: '当前版本', url: 'v3.0.0' },
                    { name: '联系邮箱', url: 'ai-assistant@sgitg.sgcc.com.cn' },
                    { name: '运维服务热线电话',style:"width:140px", url: '186' },
                ]
            }
        },
        created() {
            $.getScript("../js/jweixin-sgccigw-1.0.0.js" /*"js/jweixin-1.0.0.js"*/, function () {
                let jsApiList = [];
                const _this = this
                wx.ready(function () {
                    wx.onHistoryBack(() => {
                        _this.home()
                        return false
                    })
                });
                jsApiList = [
                    'onHistoryBack',
                ];
                wx.config({
            beta: true,
            debug: false,
            appId: "ww4d11a39991ebffdc",
            timestamp: '1639582452',
            nonceStr: "AMQGnmTMzhJetshY",
            signature: 'fb9f560a9b4824f7db3525926994010de74ea055',
            jsApiList: jsApiList
          });
            });
        },
        methods: {
            home() {
                $(location).attr("href", "Home.html");
            },
        }
    })
</script>

</html>